package com.pointcircle.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.pointcircle.core.JpaBaseEntity;

import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "t_api_permission")
@Getter
@Setter
public class ApiPermission extends JpaBaseEntity<String> {
	@Id 
	@Column(name = "api_permission_id")
	@GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@GeneratedValue(generator = "system-uuid")
	private String id;
	
	@Column(name = "api")
	private String api;
	
	@Column(name = "permission")
	private String permission;
}
